package com.taoist_awei.blog.exception;

import com.taoist_awei.blog.core.HttpResult;

/**
 * @author 高威
 * 用于处理用户未找到的异常
 */
public class UserNotFoundException extends ApiException {
    public UserNotFoundException() {
        super();
        HttpResult result = new HttpResult.HttpResultBuilder()
                .statusCode(404)
                .message("用户未找到")
                .build();
        super.setResult(result);
    }
}
